feat(devspace): grounds devspace generate <component>#28
Merged
Conversation
Wires forge's POST /v1/devspace/generate (forge#108) into the CLI so engineers can render a substituted devspace.yaml without copying + hand-editing the upstream template: grounds devspace generate plugin-social --bundle 0.4.0 --override ./me.yaml grounds devspace generate plugin-social --override ./me.yaml # bundle ref from file grounds devspace generate plugin-social --bundle main # no override The override file is the same shape `cluster up --override` expects; the per-component block is lifted and passed through as opaque JSON (forge owns the union schema). --bundle on the command line wins over the override file's `bundle:` field. Output goes to `./devspace.yaml` by default, `--output -` writes to stdout. New `devspace` cobra group anchors future subcommands (likely `devspace render` for offline-only template inspection, or a `devspace sync` wrapper that picks the right context). For now, just `generate`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
hbrombeer
added a commit
that referenced
this pull request
May 4, 2026
The self-hosted Linux runner that ci.yml + release.yml depend on has been offline / not picking up jobs since the last #29 push. Three release-creating push-events are queued behind it: the cluster up --bundle, devspace generate, and bundle list/show merges (PRs #27 + #28 + #29) → no v0.1.12 tag, no goreleaser run, no published binaries. Switch all self-hosted runs-on to ubuntu-latest so the queue drains and the new CLI surface ships. Public-repo Actions minutes on GitHub-hosted runners are free; the self-hosted setup can be reintroduced once it's healthy. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wires forge's `POST /v1/devspace/generate` into the CLI so engineers can render a substituted `devspace.yaml` without copying + hand-editing the upstream template.
```sh
grounds devspace generate plugin-social --bundle 0.4.0 --override ./me.yaml
grounds devspace generate plugin-social --override ./me.yaml # bundle ref read from file
grounds devspace generate plugin-social --bundle main # no override
grounds devspace generate plugin-social --bundle 0.4.0 --output - # stdout
```
Behaviour
Test plan
Pairs with
🤖 Generated with Claude Code